package hotel.base.oversea.constant;


import hotel.base.oversea.config.PropertyUtil;
import org.springframework.context.annotation.Configuration;

/**
 * 系统通用  地址常量
 *
 * @author qyy
 * @date 2020-06-30
 */
@Configuration
public interface CommonUrlConstants {

    ////////////////  正式地址 ///////////////////

    //正式地址网关
    String GATE_WAY_HOST= PropertyUtil.getProperty("common.gateway_server");

    //2线子网关地址
    String GATE_WAY_HOST_SEC= PropertyUtil.getProperty("common.gateway_server.sec");

    //很好办钉钉推送地址
    String MSG_HHB_HOST= PropertyUtil.getProperty("common.msg.hhb_server");
    //点淼钉钉推送地址
    String MSG_DM_HOST= PropertyUtil.getProperty("common.msg.dm_server");

    //携程host地址
    String SWITCHS_HOST = CommonUrlConstants.GATE_WAY_HOST_SEC+"/api/switchs";

    //携程新host地址 针对上架模块
    String SWITCHS_ONLINE_HOST= CommonUrlConstants.GATE_WAY_HOST_SEC+"/api/switchsonline";



    //美团host地址
    String MEITUAN_HOST = CommonUrlConstants.GATE_WAY_HOST_SEC+"/api/meituan";

    //对比系统host地址
    //String COMPARE_HOST = CommonUrlConstants.GATE_WAY_HOST_SEC+"/api/compare";
    String COMPARE_HOST = CommonUrlConstants.GATE_WAY_HOST+"/api/compare";

    //系统host地址
    String ADMIN_HOST = CommonUrlConstants.GATE_WAY_HOST_SEC+"/api/quartz";

    //爬虫专用
    String SPIDER_HOST = CommonUrlConstants.GATE_WAY_HOST+"/api/spider";

    String AUTH_HOST = CommonUrlConstants.GATE_WAY_HOST+"/api/auth";

    String CALLBACK_HOST = CommonUrlConstants.GATE_WAY_HOST_SEC+"/api/callback";
    String MSG_HOST = CommonUrlConstants.GATE_WAY_HOST+"/api/msg";


    ////////////////  测试地址 ///////////////////

    //携程host地址
/*    String SWITCHS_HOST = "http://localhost:4200";

    //美团host地址
    String MEITUAN_HOST = "http://localhost:4300";

    //对比系统host地址
    String COMPARE_HOST = "http://localhost:6003";

    //系统host地址
    String ADMIN_HOST = "http://192.168.1.10:4100";

    //钉钉消息通知
    String MSG_HOST = "http://localhost:6004";

    String AUTH_HOST = "http://192.168.1.10:4000";*/




}
